#写出程序运行的结果
s = "Python"
#	 012345
# 
print(s[1:4])
# 
print(s[:2])
# 
print(s[3:])
# 
print(s[::2])
l=[7,5,3,7,4,2,56,7,4,9,8, 2, 0, 8]
#  0 1 2 3 4 5 6  7 8 9 10 11 12 13
# 
print(l[1:10])
# 
print(l[:6])
# 
print(l[3::2])
# 
print(l[1:10:2])